package com.tjetc.controller;

import com.tjetc.mapper.UserMapper;
import com.tjetc.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gaoyongxiang
 * @version v1.0
 * @since 2025-10-11
 */
@RestController
public class UserController {

    @Autowired
    private UserMapper userMapper;

    @RequestMapping("/f1")
    public String f1() {
        User user = userMapper.selectUsers(1);
        return "ok";
    }
}
